import Login from '../page/Login'
import Article from '../page/Article'

// 1.引入react路由
import { createBrowserRouter } from 'react-router-dom'

// 2.创建router实例对象并且配置路由对应关系
const router = createBrowserRouter([
	{
		path:'/login',
		element:<Login />
	},
	{
		path:'/article',
		element:<Article />
	}
])

export default router